from django.conf.urls.defaults import *
from settings import MEDIA_ROOT, LIBS_ROOT, UPLOAD_ROOT

from django.contrib import admin
admin.autodiscover()

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    url(r'^$', 'views.index', name='login_index'),
    (r'^accounts/', include('accounts.urls')),
    # Example:
    # (r'^ourspace/', include('ourspace.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/', include(admin.site.urls)),
    (r'^admin/', include(admin.site.urls)),
)
